package com.js.rtu.mvp.bean.base;

/**
 * Created by wz on 2020/6/28.
 */
public class Cmd92_H18_Bean {
    /**
     * 模拟量表计通道号（从 1 开始）
     */
    private String id;
    /**
     * 采集使能 ,1 字节 是否启动该表计的采集， 1-启动采集； 0-禁止采集
     */
    private String enable;
    /**
     * 模拟量表计类型
     */
    private String type;
    /**
     * 浮点数， 输出范围最小值（低在前）
     */
    private String outputMin;

    /**
     * 浮点数， 输出范围最大值（低在前）
     */
    private String outputMax;

    /**
     * 供电电压通道号
     */
    private String powerId;
    /**
     * 供电电压
     */
    private String powerVoltage;
    /**
     * 浮点数， 量程上限（4byte）
     */
    private String rangeMax;
    /**
     * 浮点数， 量程下限（4byte）
     */
    private String rangeMin;

    /**
     * AD 值， 报警下下限（2byte）
     */
    private String alarmMin_reduce;
    /**
     * AD 值， 报警下限（2byte）
     */
    private String alarmMin;

    /**
     * AD 值， 报警上上限（2byte）
     */
    private String alarmMax_plus;
    /**
     * AD 值， 报警上限（2byte）
     */
    private String alarmMax;


    /**
     * 基准电压,1.63协议没有这个，1.64新增
     */
    private String referenceVoltage;

    /**
     * 供电时间（单位：ms）
     */
    private String powerTime;

    public String getPowerTime() {
        return powerTime;
    }

    public void setPowerTime(String pPowerTime) {
        powerTime = pPowerTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getEnable() {
        return enable;
    }

    public void setEnable(String enable) {
        this.enable = enable;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getPowerId() {
        return powerId;
    }

    public void setPowerId(String pPowerId) {
        powerId = pPowerId;
    }

    public String getOutputMin() {
        return outputMin;
    }

    public void setOutputMin(String outputMin) {
        this.outputMin = outputMin;
    }

    public String getOutputMax() {
        return outputMax;
    }

    public void setOutputMax(String outputMax) {
        this.outputMax = outputMax;
    }

    public String getPowerVoltage() {
        return powerVoltage;
    }

    public void setPowerVoltage(String powerVoltage) {
        this.powerVoltage = powerVoltage;
    }

    public String getRangeMax() {
        return rangeMax;
    }

    public void setRangeMax(String rangeMax) {
        this.rangeMax = rangeMax;
    }

    public String getRangeMin() {
        return rangeMin;
    }

    public void setRangeMin(String rangeMin) {
        this.rangeMin = rangeMin;
    }

    public String getAlarmMin_reduce() {
        return alarmMin_reduce;
    }

    public void setAlarmMin_reduce(String alarmMin_reduce) {
        this.alarmMin_reduce = alarmMin_reduce;
    }

    public String getAlarmMin() {
        return alarmMin;
    }

    public void setAlarmMin(String alarmMin) {
        this.alarmMin = alarmMin;
    }

    public String getAlarmMax_plus() {
        return alarmMax_plus;
    }

    public void setAlarmMax_plus(String alarmMax_plus) {
        this.alarmMax_plus = alarmMax_plus;
    }

    public String getAlarmMax() {
        return alarmMax;
    }

    public void setAlarmMax(String alarmMax) {
        this.alarmMax = alarmMax;
    }

    public String getReferenceVoltage() {
        return referenceVoltage;
    }

    public void setReferenceVoltage(String referenceVoltage) {
        this.referenceVoltage = referenceVoltage;
    }

    @Override
    public String toString() {
        return "Cmd92_H18_Bean{" +
                "id='" + id + '\'' +
                ", enable='" + enable + '\'' +
                ", type='" + type + '\'' +
                ", outputMin='" + outputMin + '\'' +
                ", outputMax='" + outputMax + '\'' +
                ", powerVoltage='" + powerVoltage + '\'' +
                ", rangeMax='" + rangeMax + '\'' +
                ", rangeMin='" + rangeMin + '\'' +
                ", alarmMin_reduce='" + alarmMin_reduce + '\'' +
                ", alarmMin='" + alarmMin + '\'' +
                ", alarmMax_plus='" + alarmMax_plus + '\'' +
                ", alarmMax='" + alarmMax + '\'' +
                ", referenceVoltage='" + referenceVoltage + '\'' +
                '}';
    }
}



